package br.com.gaspar.academia.dao;

import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.gaspar.academia.dao.iface.IProjetoDAO;
import br.com.gaspar.framework.persistencia.jpa.BaseDAO;
import br.com.gaspar.utils.entidade.EntidadeBase;

@Stateless
@Local(IProjetoDAO.class)
public class ProjetoDAO<T extends EntidadeBase> extends BaseDAO<T> implements IProjetoDAO<T> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@PersistenceContext(unitName="academia-pu")
	@Override
	protected void setEntityManager(EntityManager entityManager) {
		this.entityManager = entityManager;
	}

}
